body {
    background-color: #f5f5f5;
    min-height: 100vh;
}

main {
    max-width: 1200px;
    margin: 40px auto 40px;
    padding: 0 20px;
}

/* 专栏部分样式 */
.column-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 30px;
    height: 2px;
    background-color: #ff6b6b;
}

/* 卡片网格布局 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(250px, 350px));
    justify-content: start;
    gap: 25px;
}

/* 专栏卡片样式 */
.column-card {
    position: relative;
    height: 240px;
    max-width: 350px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    background-color: #fff;
}

.column-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8),
        rgba(0, 0, 0, 0.3) 70%,
        transparent
    );
    color: #fff;
}

.post-count {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(255, 140, 100, 0.9);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.card-overlay h3 {
    font-size: 1.2rem;
    margin: 0;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .card-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 0;
    }

    .column-card {
        height: 200px;
        max-width: 100%;
    }
} 

/* 图片内容部分样式 */
.image-section {
    margin-top: 40px;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(200px, 1fr));
    gap: 16px;
}

.image-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.image-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.image-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.image-info {
    padding: 12px;
    background: #fff;
}

.image-stats {
    display: flex;
    gap: 12px;
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 8px;
}

.views::before, .comments::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    margin-right: 4px;
}

.views::before {
    background-image: url('../../images/icons/view.svg');
}

.comments::before {
    background-image: url('../../images/icons/comment.svg');
}

.image-card h3 {
    font-size: 0.95rem;
    margin: 0 0 8px 0;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.image-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #666;
}

.author {
    display: flex;
    align-items: center;
    gap: 4px;
}

.author img {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .image-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .image-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .image-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .image-grid {
        grid-template-columns: 1fr;
    }
} 